package com.fms.gui.templateCreator.components;

import javax.swing.JOptionPane;

import com.fms.model.IDecision;

public class PopupDecision implements IDecision
{

	
	public boolean decide(String title, String message)
	{
		int result = JOptionPane.showConfirmDialog(null, message, title, JOptionPane.OK_CANCEL_OPTION);
		return result == JOptionPane.OK_OPTION;
	}
	
}
